package com.baby.work.domain.aop;

public class CalculatorImpl implements Calculator {
    @Override
    public Integer add(int a, int b) {
        System.out.println("add");
        return a + b;
    }

    @Override
    public Integer subtract(int a, int b) {
        return a - b;
    }

    @Override
    public Integer multiply(int a, int b) {
        return a * b;
    }

    @Override
    public Integer divide(int a, int b) {
        return a / b;
    }
}
